﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entities.IRepository
{
   public interface IDiaChiRepository
    {
       bool ThemDiaChi(DiaChi dc);
       bool CapNhatDiaChi(DiaChi dc);
       bool XoaDiaChi(DiaChi dc);

       DiaChi LayTheoId(string id);
       DiaChi LayChiTietTheoId(string id);
       List<DiaChi> LayTatCa();
       List<DiaChi> LayTinhTP(string tinhtp);
       List<DiaChi> LayQuanHuyen(string quanhuyen);
       List<DiaChi> LayTenDuong(string tenduong);
       
    }
}
